package JBD.Dico;
public class testMot{
	
	
	public static void main(String[] args){
		//Creation d'un Mot (FR et EN)
		Mot m1 = new Mot("Bonjour", "Hello");
		Mot m2 = new Mot("Merci", "Thank you");
		
		System.out.println("*****Recuperation d'un mot FR*****\n" + m1.getmotFR());
		System.out.println("*****Recuperation d'un mot EN*****\n" + m1.getmotEN());
		System.out.println("*****Affichage des mots FR-EN*****\n"+m1.toStringFREN());
		System.out.println(m2.toStringFREN());
		System.out.println("\n*****Affichage des mots EN-FR*****\n" +m1.toStringENFR());
		System.out.println(m2.toStringENFR());
		
		
		boolean egal1 = m1.equals(m2);
		boolean egal2 = m2.equals(m2);
		
		System.out.println("\n*****Verifications*****\nM1 = M2 ? " + egal1);
		System.out.println("M2 = M2 ? " + egal2);
		
	}
}